package com.hs.sentinelr;

import com.hs.sentinelr.handler.EnableRateLimit;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;

/**
 * 启动
 *
 * @Author lingnan
 * @Date 2021/3/26 7:58 下午
 **/
@EnableRateLimit
@EnableCaching
@MapperScan("com.hs.sentinelr.mapper")
@SpringBootApplication
public class SpringRedisApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringRedisApplication.class, args);
    }
}
